package com.service;

import com.common.Result;
import com.entity.Article;

public interface ArticleService {

    Article findOne(int id);

    Result create(Article article);

    Result update(Article bean);

    Result index(Article article);

    Result indexByUserId(Article article);

    Result indexByUserIdAndPublic(Article article);

    Result indexByTopicId(Article article);

    Result recommend();

    Result search(Article article);

    Result submit(Article article);

    Result delete(Article bean);

}
